home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Configuration / Cron 1.00 ƒ / READ ME < prev   
Text File  |  1994-04-15  |  5KB  |  112 lines

  1. Cron 1.00 is a program scheduling utility similar to the UNIX cron utility. Just make aliases of documents or applications you want Cron to launch periodically, and it will launch them for you when you want.
  2.  
  3. To install:
  4. ---------
  5. Cron is really two things: Crond, which is a faceless background app, and CronMgr, which is a Control Panel.
  6.  
  7. Drag Crond into a folder where you keep applications or utilities.
  8.  
  9. CronMgr belongs in the Control Panels folder inside your System Folder. Drag CronMgr on top of your System Folder or on top of or into your Control Panels Folder. Open the Cron Control Panel check the boxes. Cron is now ready and willing to schedule stuff for you.
  10.  
  11. REVISION HISTORY:
  12.  
  13. Version 1.00 (4/14/94):
  14. • Initial release. I've been using this thing for quite a long time, but two different people on two different occasions in the same week told me that they would like to see a shareware version of this. I don't know if there is one or not, but here is one.
  15.  
  16. Enjoy!
  17.  
  18. Please report bugs, problems, and suggestions to:
  19. Mark Malson
  20. 914 Richwood Avenue
  21. Hamilton, OH 45013-3829 USA
  22. CIS: [71561,1313]
  23. Internet: markm@xetron.com
  24.  
  25. ----------------------------------------------
  26. The following text is the text from the About... dialog. Print this out if you want a hard copy of the Cron Alias name description.
  27. ----------------------------------------------
  28.  
  29. About Cron
  30.  
  31. Cron is a utility that automatically launches applications or documents at
  32. times you specify. For example, if you have a mail program that you want
  33. to set up to check for mail every hour, you can use Cron to launch it for you.
  34.  
  35. How to use Cron
  36.  
  37. • Place the "crond" application wherever you normally keep applications.
  38.    I use a "Utilities" folder, the same place I keep Disk First Aid and stuff.
  39. • Place the CronMgr control panel in your Control Panels folder. You can
  40.    do this by dragging CronMgr on to the System Folder and the Finder will
  41.    put it in the Control Panels Folder for you. (Actually, CronMgr can be
  42.    anywhere, but the Control Panels folder is a handy place for it.)
  43. • Open up the CronMgr control panel. Make sure that the "Currently
  44.    Running" and "Launch at Startup" boxes are checked.
  45. • Make Aliases of documents or applications you want to have executed
  46.    periodically. For me, it's usually documents that direct their respective
  47.    applications to do some predetermined function (like a script).
  48. • Put the aliases inside the "Cron Preferences" folder. This folder is inside
  49.    the "Preferences" folder inside the System Folder.
  50. • Rename the aliases to specify when you want them executed. The name of
  51.    the alias is identical in syntax to the UNIX crontab time specifier. If you
  52.    don't know the syntax, see the section below.
  53.  
  54. That's it -- if cron is already running, it will immediately start launching
  55. things at their respective times.
  56.  
  57. Cron Alias Names
  58.  
  59. The syntax for Cron Alias names is somewhat cryptic -- it is identical to
  60. the UNIX crontab syntax for specifying times. The General format is:
  61.  
  62. Minute Hour Date Month Dayofweek, where:
  63.  
  64. Minute is 0-59, (the minute of the hour)
  65. Hour is 0-23, (the hour of the day)
  66. Date is 0-31 (the day of the month)
  67. Month is 1-12 (the month)
  68. Dayofweek is 0-6 (Sunday-Saturday)
  69.  
  70. Each field can specify a single value. That is, if you want something to be
  71. executed on the hour, your minute field would be 0.
  72.  
  73. Each field can be specify multiple values by placing the desired numbers
  74. separated by commas (no spaces!). That is, if you want something to be
  75. launched on both the hour and the half-hour, your minute field would be
  76. 0,30.
  77.  
  78. Each field can specify a range of values by placing the desired numbers
  79. (inclusive) separated by a dash (no spaces!). That is, if you want something
  80. to be launched during the hours of 8 AM and 5 PM, your hour field would be
  81. 8-17.
  82.  
  83. Each field can be a combination of single values and value ranges. That is, if
  84. you want something to be executed on the hour, on the half hour, and every
  85. minute from 45 to 50 minutes after the hour, your minute field would be
  86. 0,30,45-50.
  87.  
  88. Each field can also specify any value by placing an asterisk (*) in the field.
  89. If you don't care what day of the month it is, your month field would be *.
  90.  
  91. Examples of Cron Alias Names
  92.  
  93. 0 * * * * would launch every hour on the hour.
  94. 30 * * * * would launch every hour on the half-hour.
  95. 5,35 * * * * would launch at 5 minutes and 35 minutes after every hour.
  96. 0 8-17 * * * would launch at 8:00 AM, and every hour on the hour until
  97. (and including) 5:00 PM.
  98. 0 8-17 * * 1-5 would launch every hour from 8 to 5, but only on
  99. Mondays through Fridays.
  100. 0 0 1 * * would launch at midnight on the first day of every month.
  101. 5,35 8-17 * 12 2,4 would launch at 5 minutes and 35 minutes after
  102. every hour from 8 AM to 5 PM, every Tuesday and Thursday in December.
  103.  
  104. Cron puts a file in the "Cron Preferences" folder that is named "Min Hour
  105. Date Month Day" so that you can remember the sequence without having
  106. to look it up all the time.
  107.  
  108. General Stuff
  109.  
  110. Crond is a faceless background application. CronMgr is a Control Panel.
  111. They were both developed using THINK C version 5. They require System
  112. 7 or greater.